#include "prime_generator_proxy.h"

#include <iostream>

int main(int argc,char *argv[])
{
    int id = 0;
    while (true) {
        std::cout << "input prime id" << std::endl;
        std::cin >> id;
        if (id < 0) {
            break;
        }

        auto ret = PrimeGeneratorProxy::GetInstance()->GetPrime(id);
        std::cout << "get: " << ret << std::endl;
    }
	return 0;
}
